package com.cd.javacxy.module.web.dao;

import com.cd.javacxy.common.model.entity.CxyMessage;
import com.cd.javacxy.common.model.query.MessageQuery;

import java.util.List;

/**
 * CxyMessage的Dao接口
 *
 * @author yanghy
 */
public interface CxyMessageDao {

    List<CxyMessage> selectMessageList(MessageQuery messageQuery);

    int selectMessageCount(MessageQuery messageQuery);

    int deleteCxyMessageByUserId(Integer userId, Integer[] ids);

    CxyMessage selectCxyMessageByUserId(MessageQuery messageQuery);

    int updateByUserId(Integer userId, Integer[] ids);
}